<div class="m-wrap">
<?php 
//categories
//require($template->get_template_dir('tpl_modules_categories_left.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_left.php');
?>
<?php
require('includes/modules/sideboxes/categories.php');
?>
<div class="allCates" id="category">
<dt class="cate_hd"><a href="#" class="linkAllCate"><?php echo $title; ?></a>
</dt>
<?php echo $content; ?>
</div>


<div class="nav-bd">
<ul class="nav-list">
<?php
if ($current_page_base == 'index' && $this_is_home_page) {	$active	= 'active-tab'; 
	} else { $active = '';
}?>
        <li class="<?php echo $active;?>"><a href="<?php echo '' . HTTP_SERVER . DIR_WS_CATALOG;?>"><?php echo TOP_MENU_HOME;?></a></li>

<?php
if ($current_page_base == 'products_new') {	$active	= 'active-tab'; 
	} else { $active = '';
}?>
		<li class="<?php echo $active;?>"><a href="index.php?main_page=products_new"><?php echo TOP_MENU_NEW_PRODUCTS;?></a></li>

<?php
if ($current_page_base == 'specials') { $active = 'active-tab'; 
	} else { $active = '';
}?>
		<li class="<?php echo $active;?>"><a href="index.php?main_page=specials"><?php echo TOP_MENU_SPECIALS;?></a></li>

<?php 
if ($current_page_base == 'featured_products') { $active = 'active-tab'; 
	} else { $active = '';
}?>
		<li class="<?php echo $active;?>"><a href="index.php?main_page=featured_products"><?php echo TOP_MENU_FEATURED_PRODUCTS;?></a></li>
</ul>
</div>
<div class="cart-bd" id="cart-info">
<?php require($template->get_template_dir('tpl_shopping_cart_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_shopping_cart_header.php'); 
								echo $content;?>
</div>		
</div>